Answer:

Before.

The FlowLayout Manager

Our program will look better if it uses the FlowLayout manager. The FlowLayout manager puts components into the frame row by row in the order they are added. (Later on we will add more than one component). It also picks reasonable sizes for components.

FlowLayout order

The FlowLayout manager is part of the java.awt package.

QUESTION 7:

Will the layout of a frame change if you add components to it in a different order?